﻿package ca.newcommerce.youtube.data 
{
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	public class UploadResponseData
	{
		protected var _status:String;
		protected var _id:String;
		
		public function get id():String { return _id; }
		public function get status():String { return _status; }
		
		public static function fromXML(xml:XML):UploadResponseData
		{
			var data:UploadResponseData = new UploadResponseData();
			data._id = xml.id.toString();
			data._status = xml.status.toString();
			
			return data;
		}
	}
}